/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.breakaway.input;

import com.team1160.breakaway.api.MotorSpeeds;

/**
 *
 * @author nttoole
 */
public class InputState
{
    protected MotorSpeeds motorSpeeds;
    protected boolean kickerPressed;
    protected boolean dribblerPressed;
    protected boolean killPressed;

    public InputState()
    {
        reset();
    }

    public boolean isDribblerPressed() {
        return dribblerPressed;
    }

    public void setDribblerPressed(boolean dribblerPressed) {
        this.dribblerPressed = dribblerPressed;
    }

    public boolean isKickerPressed() {
        return kickerPressed;
    }

    public void setKickerPressed(boolean kickerPressed) {
        this.kickerPressed = kickerPressed;
    }

    public boolean isKillPressed() {
        return killPressed;
    }

    public void setKillPressed(boolean killPressed) {
        this.killPressed = killPressed;
    }

    public MotorSpeeds getMotorSpeeds() {
        return this.motorSpeeds;
    }

    public void setMotorSpeeds(MotorSpeeds speeds) {
        this.motorSpeeds = speeds;
    }

   


    public void reset()
    {
        this.setDribblerPressed(false);
        this.setKickerPressed(false);
        this.setMotorSpeeds(new MotorSpeeds());
        this.setKillPressed(false);
    }

}




